﻿///***************************************************************
/// 시  스  템 : Updms.Crd.Exe
/// 단위시스템 : CRD
/// 계      층 : Execute Layer (Not Transaction)
/// 프로그램명 : Crd2012r_NT
/// 파  일  명 : Crd2012r_NT.cs
/// 설      명 : 결제총액챠트(월별)
///***************************************************************
/// 수정ID 일자       이름     내용
///---------------------------------------------------------------
/// CH001  2008-08-06 송시명   최초 작성
///***************************************************************
using System.Data;
using System.EnterpriseServices;
using System.Runtime.InteropServices;

using SMFramework.Data;


namespace Updms.Crd.Exe
{
	[ComVisible(true)]
	[Transaction(TransactionOption.NotSupported)]
	[JustInTimeActivation(true)]
	public class Crd2012r_NT : Base.AppFramework.RuleBase
	{
		public Crd2012r_NT()
		{
		}

		#region GetMonthlyTotalAmtList
		/// <summary>
		/// 결제총액챠트(월별) - 월별결제총액
		/// </summary>
		/// <param name="lo_dp"></param>
		/// <returns>DataSet</returns>
		[AutoComplete]
		public DataSet GetMonthlyTotalAmtList(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Crd_Dac_UPDMS_CRD_REPORT_Crd2012r _dac = new Dac.Crd_Dac_UPDMS_CRD_REPORT_Crd2012r())
			{
				return _dac.GetMonthlyTotalAmtList(lo_dp);
			}
		}

		#endregion

		#region GetMonthlyTotalAmtListByAccount
		/// <summary>
		/// 결제총액챠트(월별) - 계정별총액챠트(라인챠트)
		/// </summary>
		/// <param name="lo_dp"></param>
		/// <returns>DataSet</returns>
		[AutoComplete]
		public DataSet GetMonthlyTotalAmtListByAccount(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Crd_Dac_UPDMS_CRD_REPORT_Crd2012r _dac = new Dac.Crd_Dac_UPDMS_CRD_REPORT_Crd2012r())
			{
				return _dac.GetMonthlyTotalAmtListByAccount(lo_dp);
			}
		}
		
		#endregion

		#region GetTotalAmtDistributeByAccount
		/// <summary>
		/// 결제총액챠트(월별) - 계정별분포도(파이챠트)
		/// </summary>
		/// <param name="lo_dp"></param>
		/// <returns>DataSet</returns>
		[AutoComplete]
		public DataSet GetTotalAmtDistributeByAccount(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Crd_Dac_UPDMS_CRD_REPORT_Crd2012r _dac = new Dac.Crd_Dac_UPDMS_CRD_REPORT_Crd2012r())
			{
				return _dac.GetTotalAmtDistributeByAccount(lo_dp);
			}
		}

		#endregion
	}
}
